package com.yt.order.models.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单产品关联关系表SaveBO
 *
 * @author lvzeming
 * @Date 2025-08-24 23:57:55
 */
@Data
public class OrderProductRelationSaveBO implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;
    @ApiModelProperty(value = "产品ID")
    private Long productId;
    @ApiModelProperty(value = "订单ID")
    private Long orderId;
    @ApiModelProperty(value = "数量")
    private Integer num;
    @ApiModelProperty(value = "单价")
    private BigDecimal price;
    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;
    @ApiModelProperty(value = "产品名称")
    private String productName;
}